package com.TeaManage.bean;


public class CustomerAddress {
    private Integer address_id;

    private Integer customer_id;

    private String receiver_name;

    private String receiver_phone;

    private String province;

    private String city;

    private String district;

    private String detailed_address;

    private Integer is_default = 0;

    private String customer_name; // 用于显示，不存储在数据库中


    public CustomerAddress() {
    }

    public CustomerAddress(Integer address_id, Integer customer_id, String receiver_name, String receiver_phone, String province, String city, String district, String detailed_address, Integer is_default) {
        this.address_id = address_id;
        this.customer_id = customer_id;
        this.receiver_name = receiver_name;
        this.receiver_phone = receiver_phone;
        this.province = province;
        this.city = city;
        this.district = district;
        this.detailed_address = detailed_address;
        this.is_default = is_default;
    }

    /**
     * 获取
     * @return address_id
     */
    public Integer getAddress_id() {
        return address_id;
    }

    /**
     * 设置
     * @param address_id
     */
    public void setAddress_id(Integer address_id) {
        this.address_id = address_id;
    }

    /**
     * 获取
     * @return customer_id
     */
    public Integer getCustomer_id() {
        return customer_id;
    }

    /**
     * 设置
     * @param customer_id
     */
    public void setCustomer_id(Integer customer_id) {
        this.customer_id = customer_id;
    }

    /**
     * 获取
     * @return receiver_name
     */
    public String getReceiver_name() {
        return receiver_name;
    }

    /**
     * 设置
     * @param receiver_name
     */
    public void setReceiver_name(String receiver_name) {
        this.receiver_name = receiver_name;
    }

    /**
     * 获取
     * @return receiver_phone
     */
    public String getReceiver_phone() {
        return receiver_phone;
    }

    /**
     * 设置
     * @param receiver_phone
     */
    public void setReceiver_phone(String receiver_phone) {
        this.receiver_phone = receiver_phone;
    }

    /**
     * 获取
     * @return province
     */
    public String getProvince() {
        return province;
    }

    /**
     * 设置
     * @param province
     */
    public void setProvince(String province) {
        this.province = province;
    }

    /**
     * 获取
     * @return city
     */
    public String getCity() {
        return city;
    }

    /**
     * 设置
     * @param city
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * 获取
     * @return district
     */
    public String getDistrict() {
        return district;
    }

    /**
     * 设置
     * @param district
     */
    public void setDistrict(String district) {
        this.district = district;
    }

    /**
     * 获取
     * @return detailed_address
     */
    public String getDetailed_address() {
        return detailed_address;
    }

    /**
     * 设置
     * @param detailed_address
     */
    public void setDetailed_address(String detailed_address) {
        this.detailed_address = detailed_address;
    }

    /**
     * 获取
     * @return is_default
     */
    public Integer getIs_default() {
        return is_default;
    }

    /**
     * 设置
     * @param is_default
     */
    public void setIs_default(Integer is_default) {
        this.is_default = is_default;
    }

    /**
     * 获取
     * @return customer_name
     */
    public String getCustomer_name() {
        return customer_name;
    }

    /**
     * 设置
     * @param customer_name
     */
    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public String toString() {
        return "CustomerAddress{address_id = " + address_id + ", customer_id = " + customer_id + ", receiver_name = " + receiver_name + ", receiver_phone = " + receiver_phone + ", province = " + province + ", city = " + city + ", district = " + district + ", detailed_address = " + detailed_address + ", is_default = " + is_default + ", customer_name = " + customer_name + "}";
    }
}

